<template>
  <div class="orderdetails">
    <el-form :model="detailsForm">
      <el-form-item>
        <p class="carNum">冀A8888(月租卡)</p>
      </el-form-item>
      <el-form-item>
        <p class="money">10元</p>
      </el-form-item>
      <el-form-item label="入场时间:"></el-form-item>
      <el-form-item label="出场时间:"></el-form-item>
      <el-form-item label="停车时长:"></el-form-item>
      <el-form-item label="应收金额:"></el-form-item>
      <el-form-item label="实收金额:"></el-form-item>
      <el-form-item label="支付时间:"></el-form-item>
      <el-form-item label="支付方式:"></el-form-item>
    </el-form>

  </div>
</template>

<script>
  export default {
    name: 'orderdetails',
    props:['id'],
    data() {
      return {
        detailsForm: {}
      }
    },
    mounted() {
      this.getDetailsForm();
    },
    methods: {
      getDetailsForm() {
        this.$axios({
          method: 'post',
          url: '/api/cOrderInfo/getOrderInfo',
          data: { orderId: this.id }
        }).then((res) => {
          console.log(res)
        })
      }
    }
  }
</script>

<style scoped>
  .orderdetails {
    padding: 0 20px;
  }
  .el-form-item {
    margin: 0;
    padding: 0;
  }
  p {
    margin: 0;
    padding: 0;
  }
  .carNum {
    font-size: 18px;
    text-align: center;
  }
  .money {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
  }


</style>
